package com.xinqi.modules.course.chapter.convert;

import com.xinqi.modules.course.chapter.domain.CourseChapterEntity;
import com.xinqi.modules.course.chapter.dto.rsp.ChapterTreeDTO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface ChapterConvert {

    ChapterTreeDTO chapterEntityToChapterVo(CourseChapterEntity entity);

    CourseChapterEntity newEntity(CourseChapterEntity entity);

}
